//
//  RegisterViewController.m
//  Family
//
//  Created by 王声䘵 on 2018/5/3.
//  Copyright © 2018年 王声䘵. All rights reserved.
//

#import "RegisterViewController.h"
#import "loginViewController.h"
#import "MyNavigationController.h"
@interface RegisterViewController ()

@end

@implementation RegisterViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
//取消注册，返回登录界面
- (IBAction)backLogin:(id)sender {
    loginViewController *Login=[[UIStoryboard storyboardWithName:@"Main" bundle:nil]instantiateViewControllerWithIdentifier:@"login"];
    [self.navigationController popViewControllerAnimated:YES];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
